package top.tangyh.lamp.care.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.lamp.care.entity.BExeYaoRevokeRecord;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@Schema(description ="撤销记录回参类")
public class RevokeRecordYaoOutVO {

    private Long id;

    @Schema(description ="执行用药名称")
    private String medicationName;

    @Schema(description ="分组id")
    private String groupId;

    @Schema(description ="删除时间")
    private LocalDateTime delTime;

    @Schema(description ="操作人名称")
    private String operaName;

    @Schema(description ="删除理由")
    private String delReason;


    public RevokeRecordYaoOutVO(BExeYaoRevokeRecord revokeRecordPO) {
        this.id = revokeRecordPO.getId();
        this.medicationName = revokeRecordPO.getMedicationName();
        this.groupId = revokeRecordPO.getGroupId();
        this.delTime = revokeRecordPO.getDelTime();
        this.operaName = revokeRecordPO.getOperaName();
        this.delReason = revokeRecordPO.getDelReason();
    }



}